AreaLoad.Create
Description:
Creates a new custom area load within the project.
Creates a new custom area load within the project.
Overloads (3):
Create(Document,ElementId,IList[CurveLoop],XYZ,AreaLoadType)
-
documentDocument to which new area load will be added.
-
hostElemIdThe analytical surface host element id for the area Load.
-
IList<CurveLoop>loopsThe loops that define geometry of the area load. The curve loop collection should contains a closed loops consisting of lines.
-
forceVectorThe force vector applied to the 1st reference point of the area load.
-
symbolThe symbol of the AreaLoad. Set nulla null reference (Nothing in Visual Basic) to use default type.
Return Value
nullNothingnullptr
If successful, returns an object of the newly created AreaLoad. null Nothing nullptr a null reference ( Nothing in Visual Basic) is returned if the operation fails.
-
hostElemId is not permitted for this type of load. -or- One of the following requirements is not satisfied : - curve loops loops are not planar - curve loops loops are self-intersecting - curve loops loops contains zero length curves
-
A non-optional argument was null
-
Thrown if the host element id is a Curved Panel.
-
Thrown if type could not be set for newly created area load.